﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>
<!--网站登录页面-->
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" type="text/css" href="StyleSheet.css"/><!--引用外部CSS-->
    <title>欢迎使用门诊信息管理系统!</title>
  
    <style type="text/css">
        .auto-style1 {
            width: 188px;
        }
    </style>
  
</head>
<body style="background-image:url(''); background-repeat:no-repeat;background :#eee5ca ;background-attachment:fixed; width: 1576px;" >
  
    <form id="form1" runat="server">
    <div style="text-align:center">
    <iframe src="top.html" name="top" style="height:200px;width:100%;border:none;margin:0;padding:0;" ></iframe>
        <!--登录框-->
        
     <div style ="margin :0 auto;border-collapse:collapse;border-spacing :0;width :60%;height :420px;background :#f4f3dc ;">
            <table border="0"  style  ="margin:0 auto;Width:55%;" >
                <tr style ="height:120px"><!--第一行-->
                    <td colspan ="2"><strong ><span style ="font-size :40pt;color :#;font-family:微软雅黑;">登录</span></strong></td>
                </tr>
                <tr style ="height :40px;"><!--第二行-->
                    <td class="auto-style1"  style="font-size :30px">账  号&nbsp;</td>
                    <td style ="text-align:left;" class="auto-style2">
                        <asp:TextBox ID="UserNo" runat="server" Font-Size="20px" Height="25px" MaxLength="4" Width="377px"></asp:TextBox>
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidatorID" ControlToValidate="UserNo"
                             ErrorMessage ="*账号不能为空" ForeColor ="Red" ></asp:RequiredFieldValidator>
                    </td><!--*****将第二列宽度设置为70%-->
                </tr>
                <tr style ="height :40px;"><!--第三行-->
                    <td class="auto-style1" style="font-size :30px">密 码&nbsp;</td> 
                    <td style ="text-align :left " class="auto-style2">
                        <asp:TextBox runat ="server" ID ="UserPass" Width ="384px" Height ="25px"
                         Font-Size="20px" TextMode ="Password" ></asp:TextBox> 
                    <asp:RequiredFieldValidator runat ="server" ID ="RequiredFieldValidatorPass" ControlToValidate ="UserPass"
                        ErrorMessage="*密码不能为空" ForeColor ="Red" ></asp:RequiredFieldValidator>
                    </td>
                </tr>
                 <tr style ="text-align : center;height :50px"> <!--第四行-->
            <td colspan ="4">
                <asp:Button runat="server" ID ="ButtonOK" Text="确定" Font-Size="20px" OnClick="ButtonOK_Click" Height="36px" Width="78px" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input type ="reset" id ="ButtonReset" value="重置" style ="Font-Size:20px;width :90px;height :35px"/>
            </td>
            </tr>
            </table>
            <asp:Label runat ="server" ID ="LabelError" Font-Size="20px" ForeColor ="Red" ></asp:Label><!--用于显示错误提示-->
            </div> 
         <asp:Label runat ="server" ID="Label2"></asp:Label><!--用于测试使用-->
             </div> 
    </form>
</body>
</html>

